package day0527;

public class Test4 {
    public static void main(String[] args){
        //匿名内部类
        //定义类，同时还创建对象
        Father f=new Father(){

        };


    }
}


class Father{

}



class Child  extends Father{

}